<#include "../../page.ftl" />
<table class="table table-datatable table-gray check_table">
    <thead>
    <tr>
        <th >大类</th>
        <th >科目</th>
        <th id="lv">180</th>
        <th id="lv">完成率</th>
        <th id="lv">长庚</th>
        <th id="lv">完成率</th>
        <th id="lv">南京</th>
        <th id="lv">完成率</th>
        <th id="lv">长沙</th>
        <th id="lv">完成率</th>
        <th id="lv">总部</th>
        <th id="lv">完成率</th>
        <th id="lv">业务拓展</th>
        <th id="lv">完成率</th>
        <th id="lv">市场</th>
        <th id="lv">完成率</th>
        <th id="lv">研发</th>
        <th id="lv">完成率</th>

    </tr>
    </thead>
    <tbody>
    <#if cwHbsTable.rows??>
        <#list cwHbsTable.rows as cwHb>
        <tr>

            <td >${cwHb.DType!''}</td>

            <td >${cwHb.XType!''}</td>
            <td id="lv">${cwHb.spareA!''}</td>
            <#if cwHb.spareC??>
                <#if  (cwHb.spareC> 100)>
                    <td bgcolor="red"  id="lv">${cwHb.spareC!''}%</td>
                <#else>
                    <td id="lv">${cwHb.spareC!''}%</td>
                </#if>
            <#else>
                <td id="lv"></td>
            </#if>
            <td id="lv">${cwHb.spareD!''}</td>


            <#if cwHb.spareF??>
                <#if  (cwHb.spareF> 100)>
                    <td bgcolor="red"  id="lv">${cwHb.spareF!''}%</td>
                <#else>
                    <td id="lv">${cwHb.spareF!''}%</td>
                </#if>
            <#else>
                <td id="lv"></td>
            </#if>
            <td id="lv">${cwHb.spareG!''}</td>
            <#if cwHb.spareI??>
                <#if  (cwHb.spareI> 100)>
                    <td bgcolor="red"  id="lv">${cwHb.spareI!''}%</td>
                <#else>
                    <td id="lv">${cwHb.spareI!''}%</td>
                </#if>
            <#else>
                <td id="lv"></td>
            </#if>

            <td id="lv">${cwHb.spareJ!''}</td>

            <#if cwHb.spareL??>
                <#if  (cwHb.spareL> 100)>
                    <td bgcolor="red"  id="lv">${cwHb.spareL!''}%</td>
                <#else>
                    <td id="lv">${cwHb.spareL!''}%</td>
                </#if>
            <#else>
                <td id="lv"></td>
            </#if>
            <td id="lv">${cwHb.spareM!''}</td>

            <#if cwHb.spareO??>
                <#if  (cwHb.spareO> 100)>
                    <td bgcolor="red"  id="lv">${cwHb.spareO!''}%</td>
                <#else>
                    <td id="lv">${cwHb.spareO!''}%</td>
                </#if>
            <#else>
                <td id="lv"></td>
            </#if>
            <td id="lv">${cwHb.spareP!''}</td>

            <#if cwHb.spareR??>
                <#if  (cwHb.spareR> 100)>
                    <td bgcolor="red"  id="lv">${cwHb.spareR!''}%</td>
                <#else>
                    <td id="lv">${cwHb.spareR!''}%</td>
                </#if>
            <#else>
                <td id="lv"></td>
            </#if>
            <td id="lv">${cwHb.spareS!''}</td>

            <#if cwHb.spareU??>
                <#if  (cwHb.spareU> 100)>
                    <td bgcolor="red"  id="lv">${cwHb.spareU!''}%</td>
                <#else>
                    <td id="lv">${cwHb.spareU!''}%</td>
                </#if>
            <#else>
                <td id="lv"></td>
            </#if>
            <td id="lv">${cwHb.spareV!''}</td>

            <#if cwHb.spareX??>
                <#if  (cwHb.spareX> 100)>
                    <td bgcolor="red"  id="lv">${cwHb.spareX!''}%</td>
                <#else>
                    <td id="lv">${cwHb.spareX!''}%</td>
                </#if>
            <#else>
                <td id="lv"></td>
            </#if>

        </tr>
        </#list>
    </#if>
    </tbody>
</table>
<#if cwHbsTable??>
    <@page table=cwHbsTable formId="search_cwHb_table"/>
</#if>
<style>
    #lv{text-align:right }
</style>